import NewCompanyGroupComp from "containers/setting/company-group/new-company-group";
import CompanyGroupDetailComp from "containers/setting/company-group/company-group-detail";
import CompanyGroupComp from "containers/setting/company-group/company-group";

//公司组
const CompanyGroupMenu =   {
  key: 'company-group',
  url: '/main/setting/company-group',
  components: CompanyGroupComp,
  parent: 'setting',
  tenant: true,
  oldCompany: 'NEW_ONLY',
  children: {
    //新建公司组
    newCompanyGroup: {
      key: 'new-company-group',
      url: '/main/setting/company-group/new-company-group/:companyGroupId',
      components: NewCompanyGroupComp,
      parent: 'company-group',
    },
    //公司组详情
    companyGroupDetail: {
      key: 'company-group-detail',
      url: '/main/setting/company-group/company-group-detail/:id',
      components: CompanyGroupDetailComp,
      parent: 'company-group',
    }
  }
};
export default CompanyGroupMenu;
